<include file="Public:header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
    <include file="Public:nav"/>
    <form method="post" class="J_ajaxForm" enctype="multipart/form-data" action="{:U("Teach/adedit")}" >
    <div class="J_tabs_contents">
        <div>
            <div class="h_a">信息编辑(带红色框为必填项)</div>
            <div class="table_full">
                <table width="100%" class="table_form ">
                    <tr>
                      <th width="100">页面位置：</th>
                      <td>
                          <select name="type" id="">
                              <option value="1" <eq name="info.type" value="1">selected</eq>>列表</option>
                              <option value="2" <eq name="info.type" value="2">selected</eq>>详情</option>
                          </select>
                      </td>
                  </tr>
                    <tr>
                        <th width="100">广告位置：</th>
                        <td>
                            <select name="position" id="">
                                <option value="1" <eq name="info.position" value="1">selected</eq>>中间</option>
                                <option value="2" <eq name="info.position" value="2">selected</eq>>右侧上方</option>
                                <option value="3" <eq name="info.position" value="3">selected</eq>>右侧中间</option>
                                <option value="4" <eq name="info.position" value="4">selected</eq>>右侧下方</option>
                                <option value="5" <eq name="info.position" value="5">selected</eq>>wap</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th width="100">信息标题：</th>
                        <td><input type="text" name="title" class="input require" size="50" value="{$info.title}"></td>
                    </tr>
                    <tr>
                        <th>外部链接：</th>
                        <td><input type="text" name="linkurl" class="input" size="50" value="{$info.linkurl}" placeholder="http://"> 必须带http://</td>
                    </tr>
                    <tr>
                        <th>信息图片：</th>
                        <td><Form function="images" parameter="image,image,$info['image'],news"/><span class="gray"> 双击可以查看图片！</span></td>
                    </tr>
                    <tr>
                        <th>排序：</th>
                        <td><input type="text" name="sort" class="input" size="10" value="{$info.sort}" /></td>
                    </tr>
                    <tr>
                        <th>审核:</th>
                        <td><select name="status">
                                <option value="1" <eq name="info.status" value="1"> selected</eq>>审核</option>
                                <option value="0" <eq name="info.status" value="0"> selected</eq>>不审核</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

    </div>
    <div class="btn_wrap">
        <div class="btn_wrap_pd">
            <input type="hidden" name="ad_id" value="{$info.ad_id}"/>
            <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
        </div>
    </div>
    </form>
</div>
<script type="text/javascript" src="__JS__/common.js"></script>
<script type="text/javascript" src="__JS__/content_addtop.js"></script>

</body>
</html>